package net.lookyou.boot.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * @author Gemerl
 */
@MapperScan(value = {"net.lookyou.boot.demo.mapper"})
@SpringBootApplication
public class MyBatisApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(MyBatisApplication.class);
        springApplication.setAllowCircularReferences(Boolean.TRUE);
        springApplication.run(args);
    }

}
